#pragma once

#include "AnyReceiveEvent.h"


namespace uml {

AnyReceiveEvent::AnyReceiveEvent(const QString& umlType)
    : MessageEvent(umlType) {}

void AnyReceiveEvent::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    MessageEvent::fromJson(json, errorList);
}

void AnyReceiveEvent::toJson(QJsonObject& json) {
    MessageEvent::toJson(json);
}

} // namespace uml
